<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title><#if addr??>编辑<#else>新增</#if>地址</title>
	<meta name="author" content="m.wine22.com">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" type="text/css" href="/css/base.css" charset="UTF-8" />
	<link rel="stylesheet" type="text/css" href="/css/cart.css" />
</head>
<body class="background-white">
	<#if addr??><#assign title="编辑地址"><#else><#assign title="新增地址"></#if>
	<#include "/common/header-user.html">
	<input value="${(addr.id)!""}" name="id" type="hidden">
	<div class="address-wapper" >
		<ul style="border:none;">
			<li class="address-name address-title">联&ensp;系&ensp;人：<input value="${(addr.contactor)!""}" name="contactor"></li>
			<li class="address-name address-title">手&ensp;机&ensp;号：<input value="${(addr.phone)!""}" name="phone"></li>
			<li class="address-name address-title" id="chooseProv" >所属省市：<input value="${(addr.provinceName)!""} ${(addr.cityName)!""} ${(addr.countryName)!""}"></li>
			<li class="address-name address-title">送货地址：<input value="${(addr.address)!""}" name="address"></li>
			<li class="address-name address-title" for="defaultAddr">默认地址：<input type="checkbox" value="1" name="defaultAddr" id="defaultAddr" style="width: 20px; height: 20px;" <#if  addr.defaultAddr?? && addr.defaultAddr==1>checked="checked"</#if></li>
		</ul>
	</div>
	<!-- 底部占位的DIV -->
	<div class="bottom-div"></div>
	
	<!-- 底部工具栏和提示 -->
	<div class="tools-btm">
		<div class="tools-btm-right red-yellow-color address-btm-right">
			<a href="javascript:void(0);" id="saveAddressBtn">保存地址</a>
		</div>
	</div>
</body>
<script type="text/javascript" src="/js/layer/layer.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/biz/address.js"></script>
</html>
